include "thresholdRule.thrift"
include "basePerformance.thrift" 
namespace java com.broada.apm.thrift.service
service ThresholdRuleController {
	map<string, string> getCachedMap(),
	map<string, map<string, string>> getAlgorithmRulesDataMap(),
	list<thresholdRule.ThresholdRule> getItems(),
	void getAlgorithmThreshold(1: basePerformance.BasePerformance perf),
	void putThresholdRulesByTargetId(1: string appId, 2: string targetId, 3: string thresholdType, 4: string panelId),
	void removeThresholdRulesByTargetId(1: string appId, 2: string targetId, 3: string thresholdType, 4: string panelId)
}